<html>
    <head>
        <title>#{get 'title' /}</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/vod.css'}">
        #{get 'moreStyles' /}
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
        <script src="http://vod.idoineconseil.com/public/javascripts/jquery-1.5.2.min.js" type="text/javascript" charset="${_response_encoding}"></script>
        <script src="http://vod.idoineconseil.com/public/javascripts/jquery-1.5.2.min.js" type="text/javascript" charset="${_response_encoding}"></script>
        <script type="text/javascript" src="http://vod.idoineconseil.com/public/javascripts/jwplayer/jwplayer.js"></script>
		<script type="text/javascript">jwplayer.key="UORvgJmHMMxmH1fnCW2xfWRSPUK8XH+B70JIMQ==";</script>
        #{get 'moreScripts' /}
    </head>
    <body>
		<div id='player_701' style="position:relative; width: 640px; margin:auto;"></div>
		<script type='text/javascript'>
		  jwplayer('player_701').setup({
		    width: "1024",
		    height: "500",
		    playlist : [
		        #{set count:filmsNames.size() /}
		    	#{list filmsNames, as:"filmName"}
		    	{
				    sources : [
						{
				            file: "rtmpt://stream.idoineconseil.com/oflaDemo/${filmName}"
						}
					],
					title : "${filmName}"
			    }
		    	#{set count:count-1 /}
		    	#{if count != 0}
		    		,
		    	#{/if}
		    	#{/list}
		    ],
		    listbar: {
		        position: 'right',
		        size: 300
		    }
		  });
		</script>
    </body>
</html>
